<?php $row = $user[0]; ?>
    
		 <?php form_head("admin/user_edit/".$row["user_id"],"แก้ไข") ?>
		 

           
		 

          <?php text_field("firstname","ชื่อจริง",$row,0,"even"); ?>
          <?php text_field("lastname","นามสกุล",$row,1); ?>
          <?php text_field("email","อีเมล์",$row,1,"even"); ?>
           <?php text_field("tel","เบอร์โทร",$row,1); ?>
          <?php text_field("position","ตำแหน่ง",$row,1,"even"); ?>
<?php 
		 $rows =  $this->db->get("roles")->result_array();
		 select_field("role_id","กลุ่มผู้ใช้งาน",$rows,"role_name",$row,0,"",2,2); 

		 ?>
	
	 <?php form_footer(); ?>
	
   
		

   